﻿<?xml version="1.0" encoding="utf-8" ?>
<Feature id="Blogs" name="Blog Configuration">

	<BusinessRules>
		<BusinessRule name="getBlogUserSettingsTemplate" security="disabled" postExtends="getUserSettingsDisplayTemplate">
			<LocalClass name="Blog.BlogBizRules,ScsCore" />
		</BusinessRule>
		<BusinessRule name="getBlogUserLimitsTemplate" security="disabled" postExtends="getUserLimitsDisplayTemplate">
			<LocalClass name="Blog.BlogBizRules,ScsCore" />
		</BusinessRule>
		<BusinessRule name="getBlogUserSettingsDbFieldNames" security="disabled" postExtends="getUserSettingsDbFields">
			<LocalClass name="Blog.BlogBizRules,ScsCore" />
		</BusinessRule>
		<BusinessRule name="getBlogUserLimitsDbFieldNames" security="disabled" postExtends="getUserLimitsDbFields">
			<LocalClass name="Blog.BlogBizRules,ScsCore" />
		</BusinessRule>
		<BusinessRule name="getBlogCompanySettingsTemplate" security="disabled" postExtends="getCompanySettingsDisplayTemplate">
			<LocalClass name="Blog.BlogBizRules,ScsCore" />
		</BusinessRule>
		<BusinessRule name="getBlogCompanySettingsDbFieldNames" security="disabled" postExtends="getCompanySettingsDbFields">
			<LocalClass name="Blog.BlogBizRules,ScsCore" />
		</BusinessRule>

		<BusinessRule name="checkToCreateBlogArticleGroup" security="disabled" postExtends="updateCompany">
			<LocalClass name="Blog.BlogBizRules,ScsCore" />
		</BusinessRule>
		<BusinessRule name="checkForUserBlogArticleSet" security="disabled" postExtends="updateUserInfo">
			<LocalClass name="Blog.BlogBizRules,ScsCore" />
		</BusinessRule>
	</BusinessRules>

	<BusinessObjects>
		<BusinessObject injects="CompanySettings">
			<Field name="blogEnabled" type="Boolean"/>
		</BusinessObject>
		<BusinessObject injects="UserSettings">
			<Field name="blogEnabled" type="Boolean" />
		</BusinessObject>
		<BusinessObject injects="UserLimits">
			<Field name="canEnableBlog" type="Boolean" />
		</BusinessObject>
	</BusinessObjects>
	<ApplicationData>
		<Entry name="BlogArticleDisplayTypes" type="IBizObjList.ArticleType">
			<ArticleTypes>
				<ArticleType id="" name="- Default -" />
				<ArticleType id="-PhotoAlbum" name="Photo Album" />
			</ArticleTypes>
		</Entry>	   
	</ApplicationData>
</Feature>